home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnupg.postinst < prev    next >
Text File  |  2009-09-27  |  939b  |  25 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installudev
  4. if [ "$1" = configure ]; then
  5.     if [ -e "/etc/udev/rules.d/z60_gnupg.rules" ]; then
  6.         echo "Preserving user changes to /etc/udev/rules.d/40-gnupg.rules ..."
  7.         if [ -e "/etc/udev/rules.d/40-gnupg.rules" ]; then
  8.             mv -f "/etc/udev/rules.d/40-gnupg.rules" "/etc/udev/rules.d/40-gnupg.rules.dpkg-new"
  9.         fi
  10.         mv -f "/etc/udev/rules.d/z60_gnupg.rules" "/etc/udev/rules.d/40-gnupg.rules"
  11.     fi
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_installudev
  15. if [ "$1" = configure ]; then
  16.     if [ -e "/etc/udev/rules.d/50-gnupg.rules" ]; then
  17.         echo "Preserving user changes to /etc/udev/rules.d/40-gnupg.rules ..."
  18.         if [ -e "/etc/udev/rules.d/40-gnupg.rules" ]; then
  19.             mv -f "/etc/udev/rules.d/40-gnupg.rules" "/etc/udev/rules.d/40-gnupg.rules.dpkg-new"
  20.         fi
  21.         mv -f "/etc/udev/rules.d/50-gnupg.rules" "/etc/udev/rules.d/40-gnupg.rules"
  22.     fi
  23. fi
  24. # End automatically added section
  25.